From: | Nick Clover |
Date: | 20 Sep 2001 at 17:10:49 |
Subject: | GTMenu problems |
Greetings,
Has anyone come across the following GTMenus 'feature'.
I've got some toggle menus created with:
GTMenuTitle 0,2,"Prefs"
GTMenuItem 0,1,2,0,"Shadow"
GTMenuItem 0,1,2,1,"Dithered"
GTMenuItem 0,1,2,2,"Scrolling"
GTMenuItem 0,1,2,3,"Fast Scroll"
GTSetMenuChecked 0,2,0,shadow
GTSetMenuChecked 0,2,1,raster
GTSetMenuChecked 0,2,2,scrolling
GTSetMenuChecked 0,2,3,fast
The problem is that when I use the menus, the option will
turn on but won't turn off.
This does not happen with magicmenu running, only with standard
workbench menus.
I check the menu status with:
If MenuHit = 2
Select ItemHit
Case 0
shadow = GTMenuChecked(0,2,0)
GTMenuState 0,2,1,shadow
Case 1
raster = GTMenuChecked(0,2,1)
Case 2
scrolling = GTMenuChecked(0,2,2)
GTMenuState 0,2,3,scrolling
Case 3
fast = GTMenuChecked(0,2,3)
<snip>
Cheers
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie